<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>我的</title>
    <link rel="stylesheet" type="text/css" href="/static/index_user/css/aui_1.css" />
    <style type="text/css">
        .text-white {
            color: #ffffff !important;
        }

        .aui-grid [class*=aui-col-] {
            padding: 0.75rem 0;
        }

        .aui-list .aui-list-item-label,
        .aui-list .aui-list-item-label-icon {
            width: 50%;
        }
    </style>
</head>

<body>

<header class="aui-bar aui-bar-nav" style="position: fixed;">
    <a class="aui-pull-left aui-btn">

    </a>
    <div class="aui-title">我的</div>
</header>
<div id="msg" class="" style=" display: none; width: 100%;position: fixed;top: 6%;z-index: 99;color: red;background-color: yellow;text-align: center">您有新消息,请在消息中心查看</div>
<div class="aui-content aui-margin-b-15" style="margin-top: 48px;;">
    <ul class="aui-list aui-form-list">

        <li class="aui-list-item">
            <div class="aui-list-item-inner" style="justify-content: right;">
                <div class="aui-list-item-label">
                    用户账户：
                </div>
                <div class="aui-list-item-input">

                    {$data.tel}						</div>

            </div>
        </li>
        <li class="aui-list-item">
            <div class="aui-list-item-inner">
                <div class="aui-list-item-label">
                    权利金余额：
                </div>
                <div class="aui-list-item-input" style="color:red">

                    {$res.money}元

                </div>
            </div>
        </li>
        <li class="aui-list-item">
            <div class="aui-list-item-inner">
                <div class="aui-list-item-label">
                    真实姓名：
                </div>

                {if condition="($res.smstatus == 1)"}
                <div class="aui-list-item-input">
                    <a href="{:url('user/UserCenter/shiming')}">请先实名认证</a>
                </div>
                {elseif  condition="($res.smstatus == 2)" /}
                <div class="aui-list-item-input">
                    正在审核中
                </div>
                {else /}
                <div class="aui-list-item-input">
                    {$res.name}
                </div>

                {/if}


            </div>
        </li>
        <li class="aui-list-item">
            <div class="aui-list-item-inner">
                <div class="aui-list-item-label">
                    手机号码：
                </div>
                <div class="aui-list-item-input">
                    <div class="aui-row">

                        <div class="aui-col-xs-6" style="">
                            <div class="aui-grid-label">{$data.tel}</div>

                        </div>
                        <div class="aui-col-xs-6" style="text-align:center">
                            <a href="{:url('user/UserCenter/edittel')}" style="color:#000">
                                <i class="aui-iconfont aui-icon-edit"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </li>
        <li class="aui-list-item">
            <div class="aui-list-item-inner">
                <div class="aui-list-item-label">
                    身份证号码：
                </div>

                <!--<div class="aui-list-item-input">-->

                    <!--<a href="">去实名认证</a>-->

                <!--</div>-->
                {if condition="($res.smstatus == 3)"}
                <div class="aui-list-item-input">

                    {$res.idcard}

                </div>

                {else /}
                <div class="aui-list-item-input">

                </div>

                {/if}


                <!--<div class="aui-list-item-input">-->

                    <!--{$res.idcard}-->

                <!--</div>-->


            </div>
        </li>

        <li class="aui-list-item">
            <div class="aui-list-item-inner">
                <div class="aui-list-item-label">
                    登录密码：
                </div>
                <div class="aui-list-item-input">
                    <div class="aui-row">
                        <div class="aui-col-xs-6" style="text-align:center">
                            <div class="aui-grid-label">已设置</div>
                        </div>
                        <div class="aui-col-xs-6" style="text-align:center">
                            <a href="{:url('user/UserCenter/editloginpwd')}" style="color:#000">
                                <i class="aui-iconfont aui-icon-edit"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </li>
        <li class="aui-list-item">
            <div class="aui-list-item-inner">
                <div class="aui-list-item-label">
                    出金密码：
                </div>
                <div class="aui-list-item-input">
                    <div class="aui-row">
                        <div class="aui-col-xs-6" style="text-align:center">

                            {if condition="($res.zf_password == '')"}
                            <div class="aui-grid-label">未设置</div>
                            {else /}
                            <div class="aui-grid-label">已设置</div>
                            {/if}

                        </div>
                        <div class="aui-col-xs-6" style="text-align:center">
                            <a href="{:url('user/UserCenter/editzfpwd')}" style="color:#000">
                                <i class="aui-iconfont aui-icon-edit"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </li>

    </ul>
</div>
<div class="aui-content" style="margin-bottom:3rem !important">
    <ul class="aui-list aui-list-in aui-margin-b-15">
        <a href="{:url('user/UserCenter/mymsg')}" style="color:#000">
            <li class="aui-list-item">
                <div class="aui-list-item-label-icon" style="width:5%">
                    <i class="aui-iconfont aui-icon-location aui-text-info"></i>
                </div>
                <div class="aui-list-item-inner aui-list-item-arrow">
                    <div class="aui-list-item-title">消息中心</div>
                </div>
            </li>
        </a>
        <a href="{:url('user/UserCenter/rj')}" style="color:#000">
            <li class="aui-list-item">
                <div class="aui-list-item-label-icon" style="width:5%">
                    <i class="aui-iconfont aui-icon-location aui-text-info"></i>
                </div>
                <div class="aui-list-item-inner aui-list-item-arrow">
                    <div class="aui-list-item-title">在线入金</div>
                </div>
            </li>
        </a>
        <a href="{:url('user/UserCenter/cj')}" style="color:#000">
            <li class="aui-list-item">
                <div class="aui-list-item-label-icon" style="width:5%">
                    <i class="aui-iconfont aui-icon-like aui-text-danger"></i>
                </div>
                <div class="aui-list-item-inner aui-list-item-arrow">
                    <div class="aui-list-item-title">申请出金</div>
                </div>
            </li>
        </a>
        <!--<a href="/index.php/My/tuiguang.html" style="color:#000">-->
            <!--<li class="aui-list-item">-->
                <!--<div class="aui-list-item-label-icon" style="width:5%">-->
                    <!--<i class="aui-iconfont aui-icon-image aui-text-info"></i>-->
                <!--</div>-->
                <!--<div class="aui-list-item-inner aui-list-item-arrow">-->
                    <!--<div class="aui-list-item-title">我的推广</div>-->
                <!--</div>-->
            <!--</li>-->
        <!--</a>-->
        <a href="{:url('user/Login/guize')}" style="color:#000">
            <li class="aui-list-item">
                <div class="aui-list-item-label-icon" style="width:5%">
                    <i class="aui-iconfont aui-icon-image aui-text-info"></i>
                </div>
                <div class="aui-list-item-inner aui-list-item-arrow">
                    <div class="aui-list-item-title">交易规则</div>
                </div>
            </li>
        </a>
    </ul>
    <ul class="aui-list aui-list-in">
        <li class="aui-list-item">
            <div class="aui-list-item-inner" style="justify-content: center;">
                <a href="{:url('user/Login/exitlogin')}" style="color:#000">
                    <div class="aui-list-item-title">退出登录</div>
                </a>
            </div>
        </li>
    </ul>
</div>
<footer class="aui-bar aui-bar-tab" id="footer">
    <div class="aui-bar-tab-item aui-active">
        <a href="{:url('user/Index/index')}" style="color:#757575">
            <i class="aui-iconfont aui-icon-home"></i>
            <div class="aui-bar-tab-label">首页</div>
        </a>
    </div>
    <div class="aui-bar-tab-item">
        <a href="{:url('user/Xunjia/index')}" style="color:#757575">
            <i class="aui-iconfont aui-icon-cert"></i>
            <div class="aui-bar-tab-label">询价</div>
        </a>
    </div>
    <div class="aui-bar-tab-item">
        <a href="{:url('user/Chicang/index')}" style="color:#757575">
            <i class="aui-iconfont aui-icon-image"></i>
            <div class="aui-bar-tab-label">持仓</div>
        </a>
    </div>

    <div class="aui-bar-tab-item">
        <a href="{:url('user/UserCenter/index')}" style="color:#ffffff">
            <i class="aui-iconfont aui-icon-my"></i>
            <div class="aui-bar-tab-label">我的</div>
        </a>
    </div>
</footer>
</body>
<script type="text/javascript" src="/static/index_user/js/api_1.js"></script>

</html>
<script type="text/javascript" src="/static/index_user/js/jquery-1.11.3.min.js"></script>
<script>
    showmsg();
    function showmsg() {
//        var $=jQuery;
//        console.log($);
        $.ajax({
            type: 'get',
            url: '/msg',
            dataType: 'json',
            success: function (data) {
//                console.log(data);
                if(data){
//                    console.log(111)
                    $('#msg').show();
                }else{
//                    console.log(222)
                    $('#msg').hide();
                }
            },
            error: function () {
            }
        });



        msgtimer=setTimeout('showmsg()', 2000);
    }
</script>